<?php
/**
 * @since 26.08.2011
 * @author dakulov
 */
interface MVC_View_Element_Interface {

    /**
     * @param string $strName
     * @param mixed $mixValue
     * @return MVC_View_Element_Interface
     */
    public function _addVariable ($strName, $mixValue);


    /**
     * @param Container_OnlyRead_Interface $objContainer
     * @param string $strVariableName
     * @return MVC_View_Element_Interface
     */
    public function _addVariableFromContainer (
        Container_OnlyRead_Interface $objContainer,
        $strVariableName
    );


    /**
     * @param string $strName
     * @param mixed $mixValue
     * @return MVC_View_Element_Interface
     */
    public function _addVariableIfNotEmpty ($strName, $mixValue);


    /**
     * @param string $strViewName
     */
    public function __construct ($strViewName, Config_Interface $objConfig);


    public function render();

}